package cn.edu.sgu.www.mhxysy.service.baoshi;

import cn.edu.sgu.www.mhxysy.dto.baoshi.EquipmentViewBaoshiDTO;
import cn.edu.sgu.www.mhxysy.entity.baoshi.EquipmentViewBaoshi;
import cn.edu.sgu.www.mhxysy.pager.baoshi.EquipmentBaoshiPager;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
public interface EquipmentViewBaoshiService {

    /**
     * 添加装备预览宝石
     * @param equipmentViewBaoshiDTO 装备预览宝石信息
     */
    void insert(EquipmentViewBaoshiDTO equipmentViewBaoshiDTO);

    /**
     * 通过ID修改装备预览宝石
     * @param equipmentViewBaoshiDTO 装备预览宝石信息
     */
    void updateById(EquipmentViewBaoshiDTO equipmentViewBaoshiDTO);

    /**
     * 查询宝石可镶嵌的装备名称列表
     * @param baoshiId 宝石类型ID
     * @return List<String> 宝石名称列表
     */
    List<String> selectInlayEquipments(Integer baoshiId);

    /**
     * 分页查询装备预览宝石列表
     * @param pager 分页参数
     * @return Page<EquipmentBaoshi>
     */
    Page<EquipmentViewBaoshi> selectByPage(EquipmentBaoshiPager pager);
}